package com.tl.boot.common.annotation;


import com.tl.boot.common.enums.LocalDataBaseEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * com.tl.boot.common.annotation -- ChooseDataSource
 * Description:
 * Created by joshua_liu <a href="mailto:joshualwork@163.com"></a>
 * On 2019/9/24 17:28
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,ElementType.METHOD})
public @interface ChooseDataSource {
    LocalDataBaseEnum value() default LocalDataBaseEnum.PRIMARY_DRUID;
}
